package com.glsc.ngateway.common.base.repo.mysql.gateway.oaflow;

import com.glsc.ngateway.common.base.domain.mysql.gateway.oaflow.TOaFlowSubscribeOaFlowInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TOaFlowSubscribeOaFlowInfoRepository extends JpaRepository<TOaFlowSubscribeOaFlowInfo, Long>, JpaSpecificationExecutor<TOaFlowSubscribeOaFlowInfo> {


    List<TOaFlowSubscribeOaFlowInfo> findAllByCurrentNodeTypeNot(String type);
}
